﻿using System;
using System.Linq;
using System.Collections.Generic;
using System.Text;

namespace Handrise.CDCable.Mobile.Business
{
    /// <summary>
    /// 巡视要点服务
    /// </summary>
    public class PatrolItemService
    {
        /// <summary>
        /// 通过工作类型获取所有巡视要点
        /// </summary>
        /// <param name="workType"></param>
        /// <returns></returns>
        public List<PatrolItem> GetPatrolItemsByType(string workType)
        {
            return AppLogic.dataService.Find<PatrolItem>("WorkType = '" + workType + "'", "DisplayOrder");
        }
    }
}
